<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/1/19 0019
 * Time: 11:27
 */

namespace App\Repositories\Admin;


class AnalysisRepository
{

    public function getUserBySex($sex){
        $userRepository = new UserRepository();
        return $userRepository->getBySex($sex);
    }
    public function getUserNumber(){
        $userRepository = new UserRepository();
        return $userRepository->getNumber();
    }
    public function getPictureNumber(){
        $userRepository = new PictureRepository();
        return $userRepository->gerNumber();
    }
}